package com.jiantong.work.service;

import com.jiantong.work.model.VaccinePurchaseRecord;
import io.terminus.common.model.Response;

import java.util.Map;

/**
 * Created by maowenjie on 2017/4/17.
 */
public interface VaccinePurchaseRecordWriteService {
    /**
     * 新建采购中心-疫苗购置 单据
     * @param vaccinePurchaseRecord 防疫中心--无害化 单据
     * @param toStatus 到状态
     * @return Map<String , Object>
     */
    Response<Map<String , Object>> createVaccinePurchaseRecord(VaccinePurchaseRecord vaccinePurchaseRecord, Integer toStatus);

    /**
     * 更新防疫中心--无害化 单据
     * @param vaccinePurchaseRecord 采购中心-疫苗购置单据
     * @param toStatus 到状态
     * @return Map<String , Object>
     */
    Response<Map<String , Object>> updateVaccinePurchaseRecord(VaccinePurchaseRecord vaccinePurchaseRecord,Integer toStatus);

    Boolean update(VaccinePurchaseRecord vaccinePurchaseRecord);
}
